package weaver.workflow.webservices;

public class WorkflowMainTableInfo  {
	private ArrayOfWorkflowRequestTableRecord requestRecords;
	private String tableDBName;

	public WorkflowMainTableInfo() {
	}

	public ArrayOfWorkflowRequestTableRecord getRequestRecords() {
		return this.requestRecords;
	}

	public void setRequestRecords(ArrayOfWorkflowRequestTableRecord requestRecords) {
		this.requestRecords = requestRecords;
	}

	public String getTableDBName() {
		return this.tableDBName;
	}

	public void setTableDBName(String tableDBName) {
		this.tableDBName = tableDBName;
	}

	private Object __equalsCalc = null;
	public synchronized boolean equals(Object obj) {
		if (!(obj instanceof WorkflowMainTableInfo)) return false;
		WorkflowMainTableInfo other = (WorkflowMainTableInfo) obj;
		if (obj == null) return false;
		if (this == obj) return true;
		if (__equalsCalc != null) {
			return (__equalsCalc == obj);
		}
		__equalsCalc = obj;
		boolean _equals;
		_equals = true && 
			((this.requestRecords==null && other.getRequestRecords()==null) || 
			 (this.requestRecords!=null &&
			  this.requestRecords.equals(other.getRequestRecords()))) &&
			((this.tableDBName==null && other.getTableDBName()==null) || 
			 (this.tableDBName!=null &&
			  this.tableDBName.equals(other.getTableDBName())));
		__equalsCalc = null;
		return _equals;
	}

	private boolean __hashCodeCalc = false;
	public synchronized int hashCode() {
		if (__hashCodeCalc) {
			return 0;
		}
		__hashCodeCalc = true;
		int _hashCode = 1;
		if (getRequestRecords() != null) {
			_hashCode += getRequestRecords().hashCode();
		}
		if (getTableDBName() != null) {
			_hashCode += getTableDBName().hashCode();
		}
		__hashCodeCalc = false;
		return _hashCode;
	}

}
